package com.fishing.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Notice {
	
	private long id;

    private String contents;

    private String createTime;


    private String adminName;
    
    private String title;
    
    private Integer ZoneId;
    
    

    public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

    public String getContents() {
        return contents;
    }

    public void setContents(String contents) {
        this.contents = contents;
    }

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createtime) {
        this.createTime = createtime;
    }


    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminname) {
        this.adminName = adminname;
    }

	public Integer getZoneId() {
		return ZoneId;
	}

	public void setZoneId(Integer zoneId) {
		ZoneId = zoneId;
	}

	
	
}